# -- coding: utf-8 --
# @File : SqlLite_DB.py
# @Time : 2024/9/9
# @Author : RLH
# 功能描述:

import sqlite3
from core.Operation_DB.OperateDBInterface import OperateDBInterface
from core.Base_Tools_modlue import  BaseTools_Cls



class sqliteDatabase(OperateDBInterface):
    def __init__(self, db=None):
        if db is None:
            config_file = "conf/config.ini"
            db = BaseTools_Cls.read_config(config_file, 'SqlLite', 'db')
        self.connection = sqlite3.connect(db)
        # self.cursor = self.connection.cursor()



